﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.Windows.Controls;

namespace IsmlToolsWPF.Localization
{
    public class CustomLocalizationManager : LocalizationManager
    {
        public override string GetStringOverride(string key)
        {
            switch (key)
            {
                //---------------------- RadGridView Group Panel
                case "GridViewGroupPanelText":
                    return "拖拽标题名放到这里进行分组";
                case "GridViewGroupPanelTopText":
                    return "组标题";
                case "GridViewGroupPanelTopTextGrouped":
                    return "分组依据:";

                //---------------------- RadGridView Filter Dropdown items texts:
                case "GridViewAlwaysVisibleNewRow":
                    return "点击这里添加新数据";
                case "GridViewClearFilter":
                    return "取消过滤";
                case "GridViewFilterAnd":
                    return "与";
                case "GridViewFilterContains":
                    return "包含字符";
                case "GridViewFilterDoesNotContain":
                    return "不包含字符";
                case "GridViewFilterEndsWith":
                    return "以…结尾";
                case "GridViewFilterIsContainedIn":
                    return "包含以下（使用,分开）";
                case "GridViewFilterIsEqualTo":
                    return "等于";
                case "GridViewFilterIsGreaterThan":
                    return "大于 ";
                case "GridViewFilterIsGreaterThanOrEqualTo":
                    return "大于或等于";
                case "GridViewFilterIsNotContainedIn":
                    return "不包含以下（使用,分开）";
                case "GridViewFilterIsLessThan":
                    return "小于";
                case "GridViewFilterIsLessThanOrEqualTo":
                    return "小于或者等于";
                case "GridViewFilterIsNotEqualTo":
                    return "不等于";
                case "GridViewFilterMatchCase":
                    return "相符";
                case "GridViewFilterOr":
                    return "或";
                case "GridViewFilterSelectAll":
                    return "全选";
                case "GridViewFilterShowRowsWithValueThat":
                    return "按以下规则显示:";
                case "GridViewFilterStartsWith":
                    return "以…开始";
                case "GridViewFilterIsNull":
                    return "Null";
                case "GridViewFilterIsNotNull":
                    return "非Null";
                case "GridViewFilterIsEmpty":
                    return "空";
                case "GridViewFilterIsNotEmpty":
                    return "非空";  
                case "GridViewFilter":
                    return "过滤";
            }
            return base.GetStringOverride(key);
        }
    }
}
